﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Library;

namespace OA.Main
{
    public partial class Login : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Title = "OA办公自动化管理系统--登陆";
        }

        protected void TextBox2_TextChanged(object sender, EventArgs e)
        {

        }

        protected void btnSubmit_Click(object sender, EventArgs e)
        {
            //string userId = (string) DataAccess.getObject("select UserName from Users where UserId = '0000000001'");
            //if (userId == "admin") return;
            Response.Redirect("~/Main/Index.aspx");
        }
    }
}
